#pragma once

#include "Control/ControlInclude.h"
#include "Util/ResConfig.h"
#include "MainMenuPainter.h"
#include "ContainerImprove.h"
#include "IResCfg.h"
#include "IAlphaMulBtn.h"
#include "FAlpResIcon.h"
#include "CTimeProgress.h"
#include "CPollyAlphBtn.h"

class CMainMenuCon : public CImproveCon
{
public:
	CMainMenuCon(HWND hWnd);
public:
	virtual ~CMainMenuCon(void);
	virtual BOOL InitControls(DWORD dwData);
	virtual void OnCommand(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
	virtual void  OnLButtonDown(UINT nFlags, CPoint point);
    void ChangeLang();
	virtual void  OnLButtonUp(UINT nFlags, CPoint point);




public:
	CIResCfg			m_config;		//m_config;
	//CCheckBtn*		m_pChbtnMute;
    CTimeProgress* m_pProgress;
    CContainer*	   m_pMsgContainer;
private:
	//friend class CMainMenuPainter;

};
